* {
    box-sizing: border-box;
}

#box {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border: 2px solid black;
    padding: 8px;
    width: 540px;
    margin: 8% auto;
}

.box-line {
    padding: 0;
    margin: 0 auto;
    border: 1px solid black;
    max-width: 180px;
}

.box-border {
    padding: 0;
    margin: 0;
    border: 4px inset white;
}

.options-box {
    padding: 2px;
    height: 240px;
    overflow-y: auto;
}

.options-box p {
    font-size: 18px;
    margin: 0;
}

.option {
    cursor: pointer;
    width: 100%;
    padding: 2px;
}

.option:hover {
    background: #ababab;
    color: white;
}

.buttons-box {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

.button {
    height: 42px;
    width: 220px;
    margin-top: 4px;
    border: none;
    background: #5D5D5D;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

.selected {
    background: #6D84B4;
    color: white;
}
.selected:hover{
    background: #445c8f;
}